import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../components/index.vue')
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('../components/LoginPage.vue')
    },{
      path: '/joblist',
      name: 'joblist',
      component: () => import('../components/jobList.vue')
    },{
      path:'/visul',
      name:'visul',
      component:() => import('../components/DataVisul.vue')
    },{
      path:'/infos',
      name:'infos',
      component:() => import('../components/jobInfo.vue')
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('../components/Userinfo.vue')
    }
  ]
})

export default router
